import request from '@/utils/request'

// 查询标注操作记录列表
export function listMarkLog(query) {
  return request({
    url: '/mark/markLog/list',
    method: 'get',
    params: query,
  })
}

// 查询标注操作记录详细
export function getMarkLog(markLogId) {
  return request({
    url: '/mark/markLog/' + markLogId,
    method: 'get',
  })
}

// 查询标注操作记录详细
export function restoreMarkLog(markLogId) {
  return request({
    url: '/mark/markLog/' + markLogId,
    method: 'put',
  })
}

// 新增标注操作记录
export function addMarkLog(data) {
  return request({
    url: '/mark/markLog',
    method: 'post',
    data: data,
  })
}

// 修改标注操作记录
export function updateMarkLog(data) {
  return request({
    url: '/mark/markLog',
    method: 'put',
    data: data,
  })
}

// 删除标注操作记录
export function delMarkLog(markLogId) {
  return request({
    url: '/mark/markLog/' + markLogId,
    method: 'delete',
  })
}

// 导出标注操作记录
export function exportMarkLog(query) {
  return request({
    url: '/mark/markLog/export',
    method: 'get',
    params: query,
  })
}
